package com.ruoyi.interfaceConfig.businessObject.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * @author Yuan
 * @description
 * @date 2024/2/3
 */
@Data
public class BusinessFieldSetting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 字段列名 */
    @Excel(name = "字段列名")
    private String columnName;

    /** 字段描述 */
    @Excel(name = "字段描述")
    private String columnComment;

    /** 物理类型 */
    @Excel(name = "物理类型")
    private String columnType;

    /** Java类型 */
    @Excel(name = "Java类型")
    private String javaType;

    /** java属性名 */
    @Excel(name = "java属性名")
    private String javaField;

    /** 所属业务id */
    @Excel(name = "所属业务id")
    private Long businessId;

    /** 是否为主键 */
    @Excel(name = "是否为主键")
    private Long isPrimaryKey;
    /** 是否为外键 */
    @Excel(name = "是否为外键")
    private Long isForeignKey;
    /** 外键列名*/
    @Excel(name = "外键列名")
    private String foreignName;
    /** 是否为主键 */
    @Excel(name = "关联表ID")
    private Long associationTable;
}
